<%= error_messages_for :pic %>

<% form_for(:pic, :url => pics_path, 
                      :html => { :multipart => true }) do |f| -%>
  <p>
    <label for="pic">Upload A Picture:</label>
    <%= f.file_field :uploaded_data %>
  </p>
  <p>
    <%= submit_tag 'Upload' %>
  </p>
<% end -%>
